package com.hpe.fastfood.pojo;

/**
 * @ClassName: Cart
 * @Description:TODO 购物车的实体类
 * @author: dwx
 * @date: 2018年11月22日 上午11:35:21
 */
public class Cart {

	private int cartId;// 购物车ID

	private int userId;// 用户ID

	private int foodId;// 商品ID

	private double foodCount;// 商品数量

	public int getCartId() {
		return cartId;
	}

	public void setCartId(int cartId) {
		this.cartId = cartId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getFoodId() {
		return foodId;
	}

	public void setFoodId(int foodId) {
		this.foodId = foodId;
	}

	public double getFoodCount() {
		return foodCount;
	}

	public void setFoodCount(double foodCount) {
		this.foodCount = foodCount;
	}

	@Override
	public String toString() {
		return "Cart [cartId=" + cartId + ", userId=" + userId + ", foodId=" + foodId + ", foodCount=" + foodCount
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}

}
